package com.xiang.service;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import com.xiang.utils.AjaxResult;
import org.springframework.stereotype.Service;

/**
 * @author xiangtianlei
 * @date 2024/04/17
 */
@Service
public class UserServiceImpl implements UserService {

    @Override
    @SentinelResource("user")
    public AjaxResult getUser() {
        return AjaxResult.success("用户信息");
    }
}
